<?php
class Product extends ActiveRecord\Model{
	
	static $belongs_to = array(
		array('category', 'class_name'=>'category')
	);
}